package com.briup.pts.service;

import com.briup.pts.domain.bean.IndexRecord;
import com.github.pagehelper.PageInfo;
import jakarta.validation.constraints.NotEmpty;

import java.util.List;


public interface IndexRecordService {
    PageInfo<IndexRecord> pageQueryByCondition(
            Double startWeight,Double endWeight,
             Integer pageNum, Integer pageSize);

    void deleteById(Integer irdId);

    void deleteByIdAll(@NotEmpty(message = "没有要删除的质检报告") List<Integer> ids);

    void saveOrUpdate(IndexRecord indexRecord);
}
